(version): Fix sed regexp to match two-elt version number.
authorRoland McGrath <roland@gnu.org>
Sat, 8 Jan 1994 22:06:34 +0000 (22:06 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 8 Jan 1994 22:06:34 +0000 (22:06 +0000)
configure1.in

index 1b3260582944ef7e7dbdb2984b9eac340fd14630..86446302c67c474a03e1ca5c2e61fd19ec0f55ef 100755 (executable)
@@ -1291,7 +1291,7 @@ fi
 [
 #### Find out which version of Emacs this is.
 version=`grep 'defconst[        ]*emacs-version' ${srcdir}/lisp/version.el \
-        | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'`
+        | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)[."].*$/\1/'`
 if [ x"${version}" = x ]; then
   echo "${progname}: can't find current emacs version in
        \`${srcdir}/lisp/version.el'." >&2